package com.lmf.handler.Exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

/**
 * 自定义异常类
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class LmfException extends Exception{

    //异常代码
    private Integer code;
    //提示消息
    private String message;

}
